<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"  xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<link href="/css/jquery-select/jquery.searchableSelect.css" rel="stylesheet" type="text/css">
<body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="col-sm-12">
			<div class="ibox">
				<div class="ibox-body">
					<div class="fixed-table-toolbar">
						<div class="columns pull-right" role="group">
							<button class="btn btn-success" onclick="reLoad()">
								<i class="fa fa-search" aria-hidden="true"></i>查询
							</button>
							 <button type="button" class="btn btn-default" onclick="exportExcel()"
		                    	style='margin-left:10px;'>
								<span class="fa fa-download"></span>
								导出Excel
							</button>
						</div>
						<div class="pull-right search col-md-2 nopadding">
							<input id="orderSn" type="text" class="form-control" placeholder="订单编号/备注/订单商品ID">
						</div>
						<div class="columns pull-right col-md-1 nopadding">
							<input type="text" class=" form-control" id="end" name="end" placeholder="请选择申请结束日期"
								   onclick="laydate({istime: false, format: 'YYYY-MM-DD'})"
								   style="background-color: #fff;" readonly="readonly"/>
						</div>

						<div class="columns pull-right">
							<label style="font-weight: 700;float: left;padding: 3px 10px;line-height: 2;font-size: 15px">
								<i class="fa fa-exchange"></i>
							</label>
						</div>

						<div class="columns pull-right col-md-1 nopadding">
							<input type="text" class=" form-control" id="start" name="start" placeholder="请选择申请开始日期"
								   onclick="laydate({istime: false, format: 'YYYY-MM-DD'})"
								   style="background-color: #fff;" readonly="readonly"/>
						</div>

                         <div class="columns pull-right col-md-2 nopadding" >
                            <select data-placeholder="流水类型" class="form-control chosen-select"
                                    id="flowType" name="flowType" tabindex="2">
                                <option value="">选择流水类型 </option>
                               <option value="1">站点毛利结算</option>
                               <option value="2">站点门店佣金发放</option>
                               <option value="3">站点自有供应商结算</option>
                               <option value="4">售后平台给站点货款</option>
                               <option value="5">平台给站点充值</option>
                               <option value="6">平台给站点扣款</option>
                               <option value="7">站点给用户或门店充值</option>
                               <option value="8">站点给用户或门店扣钱</option>
                               <option value="9">站点提现</option>
                               <option value="10">站点提现失败返回</option>
                               <option value="11">站点结算扣除优惠券金额</option>
                                <option value="12">站点结算扣除积分抵扣金额</option>
                                 <option value="13">用户购买vip充值</option>
                                  <option value="14">用户购买会员卡充值</option>
                            </select>
                        </div>

						<input type="hidden" name="centreId" th:value="${centreId}" th:if="${flag} == '1'">
						<div class="columns pull-right col-md-1 nopadding" th:if="${flag} == '0'">
							<select data-placeholder="商户" class="form-control chosen-select"  name="centreId" tabindex="2">
								<option value="" selected="selected">选择商户</option>
								<option th:each="item: ${centreList}" th:text="${item.name}" th:value="${item.centreId}"></option>
							</select>
						</div>

					</div>
					<table id="centreAmountLogsTable" data-mobile-responsive="true"></table>
						<div class="fixed-table-toolbar" id="moneyDiv" style="display: none;">
												<h3>
													总计: <input id="money"  > 
												</h3>
											</div>
				</div>
			</div>
		</div>
	</div>
	<div th:include="include :: footer"></div>
	<script type="text/javascript" src="/js/appjs/centre/amountLog/logs.js"></script>
	<!--  <script src="/js/jquery-select/jquery.searchableSelect.js"></script>
	<script type="text/javascript">
	$(function(){
		$('select').searchableSelect();
	});
	</script> -->
</body>
</html>